Instance Variables
The following instance variables are available globally.
-
Side insets of GlidiingCollection view. Only left & right side insets will take effect.
Declaration
Swift
public var sideInsets: UIEdgeInsets -
Size of collectionView’s cells.
Declaration
Swift
public var cardsSize: CGSize -
Shadow radius or blur.
Declaration
Swift
public var cardShadowRadius: CGFloat -
Shadow opacity.
Declaration
Swift
public var cardShadowOpacity: Float -
Scale factor of inactive sections buttons.
Declaration
Swift
public var buttonsScaleFactor: CGFloat -
Apply parallax effect to horizontal cards.
Declaration
Swift
public var isParallaxEnabled: Bool -
Shadow color.
Declaration
Swift
public var cardShadowColor: UIColor -
Active section button color.
Declaration
Swift
public var activeButtonColor: UIColor -
Spacing between vertical stack of items.
Declaration
Swift
public var buttonsSpacing: CGFloat -
Font of each element in vertical stack.
Declaration
Swift
public var buttonsFont: UIFont -
Inactive sections buttons color.
Declaration
Swift
public var inactiveButtonsColor: UIColor -
Duration of animation between GlidingCollection sections.
Declaration
Swift
public var animationDuration: Double -
Shadow offset: width - horizontal; height - vertical.
Declaration
Swift
public var cardShadowOffset: CGSize -
Space between collectionView’s cells.
Declaration
Swift
public var cardsSpacing: CGFloat
-
Data source protocol.
Declaration
Swift
public var dataSource: GlidingCollectionDatasource? { get set } -
Index of expanded item.
Declaration
Swift
public var expandedItemIndex: Int { get set } -
Horizontal scrolling collectionView.
Declaration
Swift
public var collectionView: UICollectionView -
Delegate protocol.
Declaration
Swift
public var delegate: GlidingCollectionDelegate?
Instance Variables Reference